package com.huafeng.answer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author 花风
 * @date 2023/4/11 11:36
 * @Description 默认回复
 */
@Slf4j
@Service
@com.huafeng.annotations.Answer
public class DefalutAnswer implements Answer{
    @Override
    public String createAnswer(String message) {
        String answer = "抱歉，我不理解您的问题：" + message;
        log.info("DefaultAnswer 回答成功 \n 答案：{}",answer);
        return answer;
    }
}
